package com.woniu.zsd.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.dto.UserDto;
import com.woniu.dto.UserInfoDto;
import com.woniu.form.*;
import com.woniu.zsd.commons.core.model.Result;
import com.woniu.zsd.user.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface IUserInfoService extends IService<UserInfo> {

    UserInfoDto selUserInfo(String id);

    UserInfo updateUserInfo(UpdateUserInfoForm uuif, String id) throws IOException;

    Result updatePassword(UpdatePwdForm upf, String id);

    void addPointById(AddPointForm apf);

    com.github.pagehelper.PageInfo<UserDto>  selUser(SelUserForm suf);

    List<UserDto> selUserInfoByIds(Set<Integer> ids);
}